package swa2012.telco.broker.beans;

import java.net.URI;

public class Provider {
	private String id;
	private URI endpoint;

	public Provider() {		
	}
	
	public Provider(String id, URI endpoint) {
		this.id = id;
		this.endpoint = endpoint;
	}
	
	public String getID() {
		return id;
	}
	public void setID(String id) {
		this.id = id;
	}
	public URI getBrokerCallbackEndpoint() {
		return endpoint;
	}
	public void setBrokerCallbackEndpoint(URI endpoint) {
		this.endpoint = endpoint;
	}
	
	@Override
	public String toString() {
		return this.getClass().getSimpleName() + "["+ this.id +"@"+ endpoint +"]";
	}
}
